/**
 * Copyright (c) 2010-2011 Pierre Labatut
 *
 * This file is part of Space-Chronicles project.
 *
 * Space-Chronicles is free software: you can redistribute it and/or modify it
 * under the terms of its license which may be found in the accompanying
 * LICENSE file or <http://code.google.com/p/space-chronicles/>.
 */

package space.model;

import javax.media.opengl.GL3bc;
import space.stream.StructureInput;

/**
 *
 * @author Pierre
 */
public class Material {

    final String name;
    final float diffuseColor[];
    final public String diffuseMap;
    final float hardness;
    final float specular[];
    final public String normalMap;

    public Material(StructureInput di) {
        name = di.readString();
        diffuseColor = new float[]{di.readFloat(), di.readFloat(), di.readFloat()};
        diffuseMap = di.readString();
        hardness = di.readFloat();
        specular = new float[]{di.readFloat(), di.readFloat(), di.readFloat()};
        normalMap = di.readString();
    }

    public void draw(GL3bc gl) {
    }
}
